
CREATE TABLE [dbo].[CashPaymentDetails_Log](
	[SlipDetailID_log] [bigint] NOT NULL,
	[SlipDetailID] [bigint] NOT NULL,
	[SlipID] [bigint] NOT NULL,
	[InvoiceNo] [varchar](50) NOT NULL,
	[ReceiptNo] [varchar](50) NOT NULL,
	[Sender] [nvarchar](50) NOT NULL,
	[Receiver] [nvarchar](50) NOT NULL,
	[Address] [nvarchar](1000) NULL,
	[CurrencyID] [bigint] NOT NULL,
	[Rate] [decimal](18, 4) NULL,
	[Amount] [decimal](18, 4) NOT NULL,
	[ApplyAmount] [decimal](18, 4) NOT NULL,
	[DefineDetailID] [bigint] NOT NULL,
	[type_code] [varchar](50) NOT NULL,
	[FromBranchID] [bigint] NULL,
	[ReturnStatus] [tinyint] NULL,
	[log_sysDate] [datetime] NOT NULL,
	[log_userid] [bigint] NOT NULL,
	[log_status] [tinyint] NOT NULL
) ON [PRIMARY]

GO

SET ANSI_PADDING OFF
GO


